<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set value="<%=request.getContextPath()%>" var="ctx"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>FactorySite</title>
    <meta name="robots" content="index,follow" />
    <meta name="keywords" content="Ego e cigarette manufacturer, Ego e cigarette factory, Ego e cigarette exporter , china Ego e cigarette,Ego CE4 E Cigarette kit supplier,Ego e cigarette china.Ego e cigarette made in china" />
    <meta name="description" content="high quality Ego e cigarette from China Ego e cigarette manufacturers - buy Ego e cigarette directly from China Ego e cigarette supplier." />
    <link rel="stylesheet" type="text/css" href="${ctx}/resources/site/css/style.css"/>
    <script type="text/javascript" src="http://style.alibaba.com/css/wmq/2v/js/extra/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="${ctx}/resources/site/js/banner.js"></script>
  </head>
  
  <body>
<div id="header">
    <jsp:include page="common/menu.jsp">
    	<jsp:param value="product" name="type"/>
    </jsp:include>
</div>
<%-- 位置链接 --%>
<div id="hun"><a href="index.html">Home</a> > <a href="${ctx}/category/cate-${product.productCategory.id}/p.htm">${product.productCategory.categoryName}</a> > <a href="${ctx}/proinfo/pro-${product.id}.htm">${product.productName}</a></div>
<%-- 内容主体开始 --%>
<div id="body">
	<%-- 左侧开始 --%>
	<jsp:include page="common/left.jsp"/>
	<%-- 左侧结束 --%>
	<%-- 右侧开始 --%>
	<div class="right">
		<%-- 产品信息开始 --%>
		<dl class="dl dl4">
            <dt><h2><a class="a12" href="${ctx}/category/cate-${product.productCategory.id}/p1.html">${product.productCategory.categoryName}</a></h2></dt>
            <dd class="pinfo">
                <div class="pro_lf">
                    <div id="gallery"><a href="http://www.kingfishmall.com/upload/1365517553.jpg" class="bimg"><img id="bimg"  src="http://www.kingfishmall.com/upload/1365517553.jpg" width="260" height="260" alt="" /></a></div>
                    <ul class="simg">
                    	<li><img src="http://www.kingfishmall.com/upload/1365517553.jpg" href="http://www.kingfishmall.com/upload/1365517553.jpg" alt="${product.productName}" title="${product.productName}" /></li>
                    </ul>
                </div>
                <div class="items">
                    <h1>${product.productName}</h1>
                    <div class="pro_con">
                        <table cellspacing="1" cellpadding="4" class="tbl1">
                            <tr>
                                <th>Product Name</th>
                                <td>${product.productName}</td>
                            </tr>
                        </table>
                    </div>
                    <div class="share">
                        <%-- AddThis Button BEGIN --%>
                        <!-- 
                        <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
                            <a class="addthis_button_preferred_1"></a>
                            <a class="addthis_button_preferred_2"></a>
                            <a class="addthis_button_preferred_3"></a>
                            <a class="addthis_button_preferred_4"></a>
                            <a class="addthis_button_preferred_5"></a>
                            <a class="addthis_button_preferred_6"></a>
                            <a class="addthis_button_preferred_7"></a>
                            <a class="addthis_button_compact"></a>
                            <a class="addthis_counter addthis_bubble_style"></a>
                        </div>
                        <script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>
                        <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-5010ab416e09b645"></script>
                         -->
                        <%-- AddThis Button END --%>
                    </div>
                    <div class="link">
                        <a href="#inquiry" class="inq" onclick="document.getElementById('subject').focus();">Send Inquiry Now</a>
                    </div>
                </div>
                <div class="clear"></div>

                <div class="clear"></div>
                <h3>Product Description</h3>
                <div class="desc">${product.productDescription}</div>
            </dd>
        </dl>
        <%-- 产品信息结束 --%>
        <%-- 相关产品开始 --%>
        <dl class="dl dl4">
            <dt><h2><a class="a4">Related Product</a></h2></dt>
            <dd>
                <ul class="bpl">
                	<c:forEach items="${relateList}" var="relate">
                	<li><a href="${ctx}/proinfo/pro-${relate.id}.htm" title="${relate.productName}"><img src="http://www.kingfishmall.com/upload/1366097651.jpg" alt="${relate.productName}" /></a><a class="tl" href="${ctx}/proinfo/pro-${relate.id}.htm" title="${relate.productName}">${relate.productName}</a></li>
                	</c:forEach>
                </ul>
                <div class="clear"></div>
            </dd>
        </dl>
        <%-- 相关产品结束 --%>
        <%-- 留言开始 --%>
        <dl class="dl dl4">
    <dt><h2><a class="a7">Send Inquiry Now!</a></h2></dt>
    <dd>
        <form id="messageform1" name="messageform1" action="message.html" method="post" onsubmit="return mf1SubmitCheck(this)">
            <input type="hidden" id="pid" name="pid" value="0" />
            <table cellspacing="0" cellpadding="4" class="form">
                <tr>
                    <th>Subject : <span>*</span></th>
                    <td><input type="text" id="subject" name="subject" vformat="required" style="width:500px;" /></td>
                </tr>
                <tr>
                    <th>Email : <span>*</span></th>
                    <td><input type="text" id="email" name="email" style="width:300px;" vformat="required/email" /></td>
                </tr>
                <tr>
                    <th style="padding-right:12px;">Name : </th>
                    <td><input type="text" id="name" name="name" style="width:200px;" /></td>
                </tr>
                <tr>
                    <th>Message : <span>*</span></th>
                    <td><textarea id="message" name="message" style="width:600px;height:80px;" vformat="required"></textarea></td>
                </tr>
                <tr>
                    <th></th>
                    <td><input class="post" type="submit" value="Submit"></td>
                </tr>
            </table>
        </form>
    </dd>
</dl>
        <%-- 留言结束 --%>
	</div>
	<br clear="all"/>
	<%-- 右侧结束 --%>
</div>
<%-- 内容主体结束 --%>
<script type="text/javascript">
    var pname = '${product.productName}';
    var askinqtitle = 'Inquiry for 『#1』';
    var askinqcontent = 'We are interested in product 『#1』. Please give me price and details';
    document.getElementById('subject').value =  askinqtitle.replace('#1', pname);
    document.getElementById('message').value = askinqcontent.replace('#1', pname);
</script>
<%-- 底部开始 --%>
<jsp:include page="common/bottom.jsp"/>
<%-- 底部结束 --%>
</body>
</html>